<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Alfar Engine: AlfarEngine.Components.SpotLight Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Alfar Engine
   
   </div>
   <div id="projectbrief">A little 2D engine managing a scene</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_alfar_engine.html">AlfarEngine</a>      </li>
      <li class="navelem"><a class="el" href="namespace_alfar_engine_1_1_components.html">Components</a>      </li>
      <li class="navelem"><a class="el" href="class_alfar_engine_1_1_components_1_1_spot_light.html">SpotLight</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">AlfarEngine.Components.SpotLight Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AlfarEngine::Components::SpotLight" --><!-- doxytag: inherits="AlfarEngine::Components::Light" --><div class="dynheader">
Inheritance diagram for AlfarEngine.Components.SpotLight:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_alfar_engine_1_1_components_1_1_spot_light.png" usemap="#AlfarEngine.Components.SpotLight_map" alt=""/>
  <map id="AlfarEngine.Components.SpotLight_map" name="AlfarEngine.Components.SpotLight_map">
<area href="class_alfar_engine_1_1_components_1_1_light.html" alt="AlfarEngine.Components.Light" shape="rect" coords="0,56,228,80"/>
<area href="class_alfar_engine_1_1_components_1_1_a_component.html" title="Abstract class that define a &quot;Component&quot;, a specification of an object." alt="AlfarEngine.Components.AComponent" shape="rect" coords="0,0,228,24"/>
</map>
 </div></div>

<p><a href="class_alfar_engine_1_1_components_1_1_spot_light-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b24fe64163641215b1217c81dbbb234"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::SpotLight" ref="a9b24fe64163641215b1217c81dbbb234" args="(GameObject pOwner)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>SpotLight</b> (<a class="el" href="class_alfar_engine_1_1_game_object.html">GameObject</a> pOwner)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a620ccae78e1ef4a52bad21c84419dd24"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::setRange" ref="a620ccae78e1ef4a52bad21c84419dd24" args="(float pRange)" -->
override void&#160;</td><td class="memItemRight" valign="bottom"><b>setRange</b> (float pRange)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0435fa7b38fa267be4814395abf51a8d"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::mDirection" ref="a0435fa7b38fa267be4814395abf51a8d" args="" -->
Vector2&#160;</td><td class="memItemRight" valign="bottom"><b>mDirection</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a685d948437326f77abacb867c31ec3b2"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::mAngle" ref="a685d948437326f77abacb867c31ec3b2" args="" -->
float&#160;</td><td class="memItemRight" valign="bottom"><b>mAngle</b></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75a3760b0b8fdd598e31b0d7cead6005"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::sMask" ref="a75a3760b0b8fdd598e31b0d7cead6005" args="" -->
static Texture2D&#160;</td><td class="memItemRight" valign="bottom"><b>sMask</b> = null</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5888a141bef3aaebf69c86f1d9b019ae"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::Sqrt2" ref="a5888a141bef3aaebf69c86f1d9b019ae" args="" -->
static double&#160;</td><td class="memItemRight" valign="bottom"><b>Sqrt2</b> = Math.Sqrt(2.0)</td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf7b8d1fec1342a8414362575b23abdb"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::direction" ref="adf7b8d1fec1342a8414362575b23abdb" args="" -->
Vector2&#160;</td><td class="memItemRight" valign="bottom"><b>direction</b><code> [get, set]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b4881a5d9a900b5626b00fb876cd2ee"></a><!-- doxytag: member="AlfarEngine::Components::SpotLight::angle" ref="a8b4881a5d9a900b5626b00fb876cd2ee" args="" -->
float&#160;</td><td class="memItemRight" valign="bottom"><b>angle</b><code> [get, set]</code></td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>E:/XNA/alfarEngine/AlfarEngine/Components/SpotLight.cs</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 16 2012 09:38:38 for Alfar Engine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
